<!doctype html>
<style>
body,p {margin:0}
p {
	width: 100px;
	height: 100px;
	background: linear-gradient(red, blue 0, 40%, green);
}
</style>
<p>